package com.baike.feign.fallback;

import com.baike.data.Result;
import com.baike.em.ConstantEnum;
import com.baike.feign.SearchServiceFeign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

@Component
public class SearchServiceFeignBack implements SearchServiceFeign {
    @Override
    public Result getLessonLabelName(String lessonLabelName, Integer pageNum, Integer pageSize) {
        return Result.build(ConstantEnum.FALL_BACK);
    }
}
